﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditPassword.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Operator.EditPassword" %>

<script type="text/javascript" src="/SystemManage/javascripts/jquery.md5.js">
</script>
<script type="text/javascript">
function setMd5Value() {
   $('#<%=_password_new.ClientID %>').val($.md5($('#<%=tb_password_1.ClientID %>').val()));
}
</script>

<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Basics/Operator/EditPassword.aspx">

<asp:label runat="server" ID="_id" Visible="False" ></asp:label>
<input id="_password_new" runat="Server" type="hidden" />
    
<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
        <dl class="nowrap">
            <dt>帐号：</dt>
            <dd><%= _userDB.UserAccount%></dd>
        </dl>
        <dl class="nowrap">
            <dt>新密码：</dt>
            <dd><asp:TextBox ID="tb_password_1" Width="200px" runat="server" class="required" TextMode="Password" minlength="6" maxlength="32"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>重复密码：</dt>
            <dd><asp:TextBox ID="tb_password_2"  Width="200px" runat="server" class="required" TextMode="Password" equalto="#tb_password_1"></asp:TextBox></dd>
        </dl> 
	</div>
        
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit" onclick="setMd5Value()">保存</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
		</ul>
	</div>  
</div>
</form>